package guda.demox.biz;

import guda.demox.biz.common.BizResult;
import guda.demox.biz.form.BlogEditForm;
import guda.demox.biz.form.BlogForm;
import guda.demox.dal.common.PageQuery;
import guda.demox.dal.model.BlogDO;

/**
 * Created by well on 2017/11/8.
 */
public interface BlogBiz {

    BizResult detail(long id);

    BizResult list(PageQuery pageQuery);

    BizResult delete(long id);

    BizResult create(BlogForm blogForm);

    BizResult update(BlogEditForm blogEditForm);
}
